Description
Create a new version for the input document. Any modification made on the document by the chain will be automatically saved. Increment version if this was specified through the 'snapshot' parameter. Returns the live document (not the version).
Operation id | Document.CreateVersion |
Category | Document |
Label | Snapshot Version |
Requires | |
Since | |
Parameters
Signature
Inputs | document, documents |
Outputs | document, documents |
Implementation Information
JSON Definition
{
"id" : "Document.CreateVersion",
"label" : "Snapshot Version",
"category" : "Document",
"requires" : null,
"description" : "Create a new version for the input document. Any modification made on the document by the chain will be automatically saved. Increment version if this was specified through the 'snapshot' parameter. Returns the live document (not the version).",
"url" : "Document.CreateVersion",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "increment",
"description" : null,
"type" : "string",
"required" : false,
"widget" : "Option",
"order" : 0,
"values" : [ "None", "Minor", "Major" ]
}, {
"name" : "saveDocument",
"description" : null,
"type" : "boolean",
"required" : false,
"widget" : "Check",
"order" : 0,
"values" : [ ]
} ]
}